x86: make hvm_cpuid() tolerate NULL pointers
authorJan Beulich <jbeulich@suse.com>
Fri, 4 Oct 2013 10:32:25 +0000 (12:32 +0200)
committerJan Beulich <jbeulich@suse.com>
Fri, 4 Oct 2013 10:32:25 +0000 (12:32 +0200)
commit11b85dbd0ab068bad3beadda3aee2298205a3c01
tree987f35bfb9ea63de8e3e955a22b11afc0db310af
parentc6f92aed0e209df823d2cb5780dbb1ea12fc6d4a
x86: make hvm_cpuid() tolerate NULL pointers

Now that other HVM code started making more extensive use of
hvm_cpuid(), let's not force every caller to declare dummy variables
for output not cared about.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
Acked-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>
Acked-by: Jun Nakajima <jun.nakajima@intel.com>
xen/arch/x86/hvm/hvm.c
xen/arch/x86/hvm/svm/svm.c
xen/arch/x86/hvm/vmx/vvmx.c